// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import vant from 'vant'
import ElementUI from 'element-ui'
import zbStore from './store'
import 'element-ui/lib/theme-chalk/index.css'
import zbVuePlugins from '../lib/build'
import './assets/styles/element-variables.scss'

import '@/assets/styles/index.scss' // global css
import '@/assets/styles/ruoyi.scss'
import Label from "./plugins/myComponents/ZbForm/directives/label";
Vue.use(vant)
Vue.use(zbVuePlugins)
Vue.use(ElementUI)

Vue.directive(Label.name, Label);
Vue.config.productionTip = false
/* eslint-disable no-new */
window.uni = new Vue({
  el: '#app',
  router,
  zbStore,
  components: { App },
  template: '<App/>'
})
